$(document).ready(function() {
	$.ajax({
	    url: "/ServiceLogout.php",
	    // error: function(){
	    //     // will fire when timeout is reached
	    // },
	    // success: function(){
	    //     //do something
	    // },
	    timeout: 1000 // sets timeout to 3 seconds
	});
});
